CC      = g++ 
CPPFLAGS= -Wno-deprecated -O2 -c
LDFLAGS = -O2
SOURCES = driver.cpp hlss.cpp Timer.cpp Path_Hop.cpp Graph.cpp GraphLoader.cpp Interval.cpp LabelHelper.cpp 
OBJECTS = $(SOURCES:.cpp=.o)
EXECUTABLE = pathhop



all: $(SOURCES) $(EXECUTABLE)

$(EXECUTABLE) : $(OBJECTS)
	$(CC) $(LDFLAGS) $(OBJECTS) -o $@

.cpp.o : 
	$(CC) $(CPPFLAGS) $< -o $@

clean:
	-rm -f *.o

